package com.ziyun.erp.modules.member.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ziyun.erp.modules.member.entity.UserWalletEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.Map;

/**
 * 用户钱包表
 *
 * @author
 * @email
 * @date 2018-08-08 13:57:09
 */
public interface UserWalletDao extends BaseMapper<UserWalletEntity> {

    int updateByMap(@Param("map") Map<String, Object> map, @Param("userId") Integer userId);

    int updatePointById(@Param("userId")Integer userId,@Param("point")Integer point);
}
